/*
 * Sound.h
 *
 *  Created on: 2011-02-20
 *      Author: Basse
 */

#ifndef SOUND_H_
#define SOUND_H_

#include "SDL.h"
#include "SDL_mixer.h"
#include <iostream>

using namespace std;

class Sound {
public:

	Sound(const char *path);
	virtual ~Sound();

	Mix_Chunk* getSound() { return sound; }
	int isLoaded() { return loaded; }

	int load();

private:
	const char *path;
	int loaded;

	Mix_Chunk* sound;
};

#endif /* SOUND_H_ */
